<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    body {
      margin: 0;
    }

    .rings {
      width: 500px;
      height: 400px;
      /* border: 1px solid red; */
      margin: 50px auto;
      /* 视距 */
      perspective: 1000px;
      transform-style: preserve-3d;
    }

    .rings .ring {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      border: 10px solid;
      display: inline-block;
      font-size: 0;
    }

    .rings .orange {
      border-color: orange;
      margin-right: -50px;
      margin-bottom: -60px;
      transform: rotateX(5deg);
    }

    .rings .blue {
      border-color: skyblue;
      margin-right: -50px;
      margin-bottom: -60px;
      transform: rotateX(-5deg);
    }

    .rings .green {
      border-color: green;
      margin-bottom: -60px;
      transform: rotateX(5deg);
    }

    .rings  .red {
      border-color: brown;
      margin-left: 65px;
      margin-right: -50px;
      transform: rotateY(-3deg) rotateX(5deg);
    }

    .rings  .black {
      border-color: black;
      transform: rotateY(3deg) rotateX(4deg);
    }

  </style>
  <body>
    <div class="rings">
        <div class="ring orange"></div>
        <div class="ring blue"></div>
        <div class="ring green"></div>
        <div class="ring red"></div>
        <div class="ring black"></div>

    </div>
  </body>
</html>
